package com.qin.service;

import com.alibaba.fastjson.JSONObject;
import com.qin.entity.ExecuteBean;
import com.qin.entity.ExecuteLog;
import org.springframework.stereotype.Service;

@Service
public interface ExecuteService {

    //执行公共函数
    public JSONObject executeFunction(ExecuteBean executeBean);

    //通过versionDate查询ExecuteBean信息
    public ExecuteBean queryExecuteBean(ExecuteBean executeBean);

    //插入执行信息
    public boolean insertExecuteRecord(ExecuteLog executeLog);
    //插入执行日志
    public boolean insertExecuteLog(ExecuteLog executeLog, String log_content);

    //查询执行日志
    public JSONObject queryExecuteLog(ExecuteLog executeLog);

}
